<style>
    .td-active{
        background-color:LightSkyBlue;
    }
    .td-active:hover{
        background-color:#00A1CB!important;
    }
    .input1{
        line-height:1;
        display:inline!important;
        width:auto!important;
    }
</style>
<div class="container" style="margin:0 0 0 0;padding:0 0 0 0">
    <div class="row page-header-new" style="margin:0 0 0 0">
        <div class="page-title">
            <h4 >业绩分析</h4>
        </div>
    </div>
    <div class="body">
        <div class="row">
            <div class="col-md-1"></div>
            <div class="col-md-10">
                <div class="btn-group">
                    <button class="btn btn-default" style="line-height: 1;width:{{width7}}px;background-color:	#8470FF">统计类型</button>
                    <button class="{{performanceMode==1?'btn btn-info':'btn btn-default'}}" style="line-height: 1;width: {{width7}}px" ng-click="changePerformanceMode(1)">客户</button>
                    <button class="{{performanceMode==2?'btn btn-info':'btn btn-default'}}" style="line-height: 1;width: {{width7}}px" ng-click="changePerformanceMode(2)">事由</button>
                    <button class="{{performanceMode==3?'btn btn-info':'btn btn-default'}}" style="line-height: 1;width: {{width7}}px" ng-click="changePerformanceMode(3)">状况</button>
                    <button class="{{performanceMode==4?'btn btn-info':'btn btn-default'}}" style="line-height: 1;width: {{width7}}px" ng-click="changePerformanceMode(4)">胜算</button>
                    <button class="{{performanceMode==5?'btn btn-info':'btn btn-default'}}" style="line-height: 1;width: {{width7}}px" ng-click="changePerformanceMode(5)">来源</button>
                </div>
            </div>
        </div>
        <br/><br/>
        <div class="row">
            <table class="datatable table table-hover dataTale">
                <thead>
                <tr>
                    <th style="width:5%">序号</th>
                    <th style="width:20%">客户名称</th>
                    <th style="width:20%">事由</th>
                    <th style="width:10%">预算金额（万元）</th>
                    <th style="width:10%">合同金额（万元）</th>
                    <th style="width:15%">来源</th>
                    <th style="width:15%">状况</th>
                    <th style="width:15%">胜算</th>
                </tr>
                </thead>
                <tbody ng-repeat="item in investmentOppList">
                <tr>
                    <td>{{$index+1}}</td>
                    <td>{{item.orgCompanyName}}</td>
                    <td>{{item.causeName}}</td>
                    <td>{{item.budget}}</td>
                    <td>{{item.price}}</td>
                    <td>{{returnOriginName(item.origin)}}</td>
                    <td>{{returnStatusName(item.status)}}</td>
                    <td>{{returnOddsName(item.odds)}}</td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>


